<?php if(count($teachers) > 0) { ?>
<table border="1" dir="rtl">
    <tr>
        <th>
            <?php echo __('Number') ?>
        </th>
        <th>
            <?php echo __('Teacher Name') ?>
        </th>
    </tr>
    <?php foreach ($teachers as $k => $one) { ?>
        <tr>
            <td>
                <?php echo $k + 1 ?>
            </td>
            <td>
                <?php $teacher = $one['Teacher'] ?>
                <?php echo $teacher['f_name'] . ' ' . $teacher['s_name'] . ' ' . $teacher['t_name'] . ' ' . $teacher['l_name'] ?>
            </td>
        </tr>
    <?php } ?>
</table>
<?php } else { ?>
<center><?php echo __('there_are_no_teachers') ?></center>
<?php } ?>

